/*
 数据看板
 */
// import Layout from '@/layout'
import App from '@/App.vue'
import { mapGetters } from 'vuex'
export const bulletinBoard = {
  path: '/board',
  component: App,
  // redirect: '/board/cockpit',
  alwaysShow: true,
  name: 'Board',
  meta: {
    title: '数据看板', icon: 'icon-shujukanban'
  },
  children: [
    // {
    //   path: 'cockpit',
    //   name: 'Cockpit',
    //   target: '_blank',
    //   component: () => import('@/views/dataBoard/cockpit'),
    //   meta: { title: 'MES驾驶舱', icon: 'icon-shujukanban' }
    // },
    {
      path: `http://www.zjy.joysoft.cc:8888/jsqbjd/1`,
      // name: 'ProductionTask',
      // target: '_blank',
      // component: () => import('@/views/dataBoard/productionTask'),
      meta: { title: '生产计划排程看板', icon: 'icon-shujukanban' }
    },
    {
      path: 'http://www.zjy.joysoft.cc:8888/jsqbjd/2',
      // name: 'JobStatistics',
      // target: '_blank',
      // component: () => import('@/views/dataBoard/jobStatistics'),
      meta: { title: '生产任务执行看板', icon: 'icon-shujukanban' }
    },
    {
      path: 'http://www.zjy.joysoft.cc:8888/jsqbjd/3',
      // name: 'EquipmentData',
      // target: '_blank',
      // component: () => import('@/views/dataBoard/equipmentData'),
      meta: { title: '设备运行状态统计', icon: 'icon-shujukanban' }
    },
    {
      path: 'http://www.zjy.joysoft.cc:8888/jsqbjd/4',
      // name: 'EquipmentTask',
      // target: '_blank',
      // component: () => import('@/views/dataBoard/equipmentTask'),
      meta: { title: '设备点检保养看板', icon: 'icon-shujukanban' }
    }
    // {
    //   path: 'http://www.joysoft.cc/jsqbjd/5',
    //   // name: 'EquipmentAbnormality',
    //   // target: '_blank',
    //   // component: () => import('@/views/dataBoard/equipmentAbnormality'),
    //   meta: { title: '设备异常告警看板', icon: 'icon-shujukanban' }
    // },
    // {
    //   path: 'http://www.joysoft.cc/jsqbjd/6',
    //   // name: 'EquipmentAbnormality',
    //   // target: '_blank',
    //   // component: () => import('@/views/dataBoard/equipmentAbnormality'),
    //   meta: { title: '设备加工状态看板', icon: 'icon-shujukanban' }
    // }
  ]
}
